package org.powernode.spring6.service;

import org.springframework.stereotype.Service;

@Service("userService")
public class UserService { //目标类
    public void login() { //目标方法
        System.out.println("login:用户正在登录");
    }

    public void logout() {
        System.out.println("logout:用户正在退出");
    }
}
